package org.example.demo15_command.demo2;

public class Client {
    public static void main(String[] args) {
        AbstractButton addButton,deleteButton,checkButton;
        ConnectionList connectionList = new ConnectionList();
        addButton = new AddButton(connectionList,"mao","123465876");
        deleteButton = new DelelteButton(connectionList,"mao");
        checkButton = new CheckButton(connectionList,"mao");

        Controller controller = new Controller(addButton,deleteButton,checkButton);

        controller.add();
        controller.delete();
        controller.check();
    }
}
